﻿
public class ConfigItemHelper
{
    public static string GetSpriteName(ConfigItemElement item)
    {
        if (string.IsNullOrEmpty(item.SpriteSubName))
            return item.SpriteName;
        return item.SpriteName + "[" + item.SpriteSubName + "]";
    }
}
